﻿@model BBSSite.Areas.Admins.ViewModels.AddRoleEntity

@{
    ViewBag.Title = "编辑角色";
    MyPublic.IGettingUrl Urls = ViewBag.Urls as MyPublic.IGettingUrl;
}
@section link{
    <link rel="stylesheet" href="@Urls.ContentCssUrl/admins/Public.css" />
}
@using (Html.BeginForm("DoEditRole", "Users", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    <div class="container toppx1">
        <div class="row">
            <div class="col-md-3">
                @Html.HiddenFor(model=>model.ID)
            </div>
            <div class="col-md-6">
                <div class="input-group">
                    <span class="input-group-addon">角色名称</span>
                    @Html.EditorFor(model => model.RoleName, new { htmlAttributes = new { @class = "form-control" } })
                    <span class="input-group-addon mymsg">@Html.ValidationMessageFor(model => model.RoleName)</span>
                </div>
            </div>
            <div class="col-md-3"></div>
        </div>
        <br />
        <div class="row">
            <div class="col-md-12 text-center">
                <input type="submit" name="sublogin" class="OnLogin" value="修改" />
                &nbsp;@Html.ValidationMessage("RoleError", new { style = "color:Red" })
            </div>
        </div>
    </div>
}
<script type="text/javascript" src="@Urls.ContentJSUrl/Role.js"></script>


